<div class="layui-form-item" id="{{$value['name']}}ss">
    <div>
        <div class="layui-inline">
            <label class="layui-form-label">{{$value['desc']}}</label>
            <div class="layui-input-inline">
                <input type="text" name="" autocomplete="off" value="键(key)" class="layui-input" readonly>
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="" autocomplete="off" value="值(value)" class="layui-input" readonly>
            </div>
        </div>
    </div>
    {{if $value['value']}}
        {{foreach json_decode($value['value'],true) as $key=>$v}}
            {{if $key=='key'}}
                {{foreach $v as $k=>$va}}
                    {{if $k==0}}
    <div>
        <div class="layui-inline">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input type="text" name="{{$value['name']}}[key][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="{{$value['name']}}[value][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-btn" onclick="tianjiajsons(this,'{{$value['name']}}')">+</div>
        </div>
    </div>
                    {{else}}
    <div>
        <div class="layui-inline">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input type="text" name="{{$value['name']}}[key][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="{{$value['name']}}[value][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-btn" onclick="shanchujsons(this)">-</div>
        </div>
    </div>
                    {{/if}}
                {{/foreach}}
            {{/if}}
        {{/foreach}}
    {{else}}
    <div>
        <div class="layui-inline">
            <label class="layui-form-label"></label>
            <div class="layui-input-inline">
                <input type="text" name="{{$value['name']}}[key][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <!--<label class="layui-form-label">验证邮箱</label>-->
            <div class="layui-input-inline">
                <input type="text" name="{{$value['name']}}[value][]"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-btn" onclick="tianjiajsons(this,'{{$value['name']}}')">+</div>
        </div>
    </div>
    {{/if}}
    <div style="display: none" id="{{$value['name']}}">{{$value['value']}}</div>
</div>